package com.umeng.analytics.pro;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class cs implements Serializable {
    public final String a;
    public final byte b;
    public final ct c;
    private static Map d;

    static {
        cs.d = new HashMap();
    }

    public cs(String arg1, byte arg2, ct arg3) {

        this.a = arg1;
        this.b = arg2;
        this.c = arg3;
    }

    public static void a(Class arg1, Map arg2) {
        cs.d.put(arg1, arg2);
    }

    public static Map a(Class arg4) {
        if(!cs.d.containsKey(arg4)) {
            try {
                arg4.newInstance();
            }
            catch(IllegalAccessException v0) {
                throw new RuntimeException("IllegalAccessException for TBase class: " + arg4.getName() + ", message: " + v0.getMessage());
            }
            catch(InstantiationException v0_1) {
                throw new RuntimeException("InstantiationException for TBase class: " + arg4.getName() + ", message: " + v0_1.getMessage());
            }
        }

        return (Map) cs.d.get(arg4);
    }
}

